Skip to content

Conversation

@bh2smith
Copy link
Member

@bh2smith bh2smith commented Nov 20, 2025

Published to IPFS:
https://ipfs.io/ipfs/QmYzXYTrbWaWuHwa3kR7ftFZQSMPZZwTD9oNbdUYABrzLQ/

This PR eliminates the need for postgres and reduces the package size from 477Mb to 320Mb (see above IPFS hash)

Its also easier to include a backup DB (since it can now be uploaded as a file) - This was beneficial because one can attach a backup (constructed locally) and run the service against a Full Node (with pruned history).

The next step to bundle size reduction is to switch from rindexer to arak or some other tiny event indexing image.

This PR is based on a chain of open PRs. Namely

Subindexer:
PR: deluXtreme/subindexer#23
Branch Release: https://github.com/deluXtreme/subindexer/pkgs/container/subindexer/582626299?tag=v0.0.6-sqlite

Rindexer:
PR: joshstevens19/rindexer#346
Branch Release: https://github.com/bh2smith/rindexer/pkgs/container/rindexer

Comment on lines +4 to +5
# Install SQLite runtime library for local testing
RUN apt-get update && apt-get install -y libsqlite3-0 && rm -rf /var/lib/apt/lists/*
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note that libsqlite was not included in the branch released indexer so its been included in the image here. Once all these items land, we can remove this additional install.

@bh2smith bh2smith merged commit f52ca5a into main Nov 20, 2025
@bh2smith bh2smith mentioned this pull request Nov 20, 2025
bh2smith added a commit that referenced this pull request Nov 21, 2025
Swapping out rindexer for arak (a 5x more lightweight image). Earlier #2 we reduced the bundle from 477 Mb to 320 Mb by swapping out Postgres for SQLite. Now, we reduce even further from

SQLite + Rindexer (380 Mb)
https://ipfs.io/ipfs/QmYzXYTrbWaWuHwa3kR7ftFZQSMPZZwTD9oNbdUYABrzLQ/

to a whopping

SQLite + Arak (89 Mb)
https://ipfs.io/ipfs/QmdSL3P6niwRFKaGv4kKN7yeU4En6UzdCJBBHoCh8UJE6B/

* Use Arak Indexer
* Publish 0.3.0
* v0.3.0 with EOAMultisend
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants